﻿using System;
using System.Collections.Generic;

namespace Model
{
     ///<summary>
     ///实体类DEV_STANDARD_DPCG
     ///</summary>
     public class DEV_STANDARD_DPCG
     {
         private int __ID=0 ;
         private string __SEARCH_CONDITION=string.Empty ;
         private string __ZXMC=string.Empty ;
         private string __NJGKSDSD=string.Empty ;
         private string __NJGKXZ=string.Empty ;
         private string __GLGKSDSD=string.Empty ;
         private string __GLGKXZ=string.Empty ;
         private string __HXJLXZ=string.Empty ;
         private int? __IS_SHOW=null ;
         private string __AREA_NAME=string.Empty ;
         private int? __UTYPE=null ;

         private Dictionary<string, bool> __Changed = new Dictionary<string, bool>();


         public DEV_STANDARD_DPCG()
         {
             this.__Changed.Add("ID",false);
             this.__Changed.Add("SEARCH_CONDITION",false);
             this.__Changed.Add("ZXMC",false);
             this.__Changed.Add("NJGKSDSD",false);
             this.__Changed.Add("NJGKXZ",false);
             this.__Changed.Add("GLGKSDSD",false);
             this.__Changed.Add("GLGKXZ",false);
             this.__Changed.Add("HXJLXZ",false);
             this.__Changed.Add("IS_SHOW",false);
             this.__Changed.Add("AREA_NAME",false);
             this.__Changed.Add("UTYPE",false);
         }

         /// <summary>
         /// 将类重置到初始化状态
         /// </summary>
         public void Reset()
         {
             this.__ID =0;
             this.__SEARCH_CONDITION =string.Empty;
             this.__ZXMC =string.Empty;
             this.__NJGKSDSD =string.Empty;
             this.__NJGKXZ =string.Empty;
             this.__GLGKSDSD =string.Empty;
             this.__GLGKXZ =string.Empty;
             this.__HXJLXZ =string.Empty;
             this.__IS_SHOW =null;
             this.__AREA_NAME =string.Empty;
             this.__UTYPE =null;
             this.__Changed["ID"] = false;
             this.__Changed["SEARCH_CONDITION"] = false;
             this.__Changed["ZXMC"] = false;
             this.__Changed["NJGKSDSD"] = false;
             this.__Changed["NJGKXZ"] = false;
             this.__Changed["GLGKSDSD"] = false;
             this.__Changed["GLGKXZ"] = false;
             this.__Changed["HXJLXZ"] = false;
             this.__Changed["IS_SHOW"] = false;
             this.__Changed["AREA_NAME"] = false;
             this.__Changed["UTYPE"] = false;
         }

         /// <summary>
         /// 获取类中成员的改变状态
         /// </summary>
         public bool Changed(string strKey)
         {
             return __Changed[strKey];
         }

         /// <summary>
         ///设置或获取类中的[ID]的数据
         /// </summary>
         public int ID
         {
              set{ __ID = value; __Changed["ID"] = true;}
              get{return __ID;}
         }
         /// <summary>
         ///设置或获取类中的[SEARCH_CONDITION]的数据
         /// </summary>
         public string SEARCH_CONDITION
         {
              set{ __SEARCH_CONDITION = value.Replace("'","’"); __Changed["SEARCH_CONDITION"] = true;}
              get{return __SEARCH_CONDITION;}
         }
         /// <summary>
         ///设置或获取类中的[ZXMC]的数据
         /// </summary>
         public string ZXMC
         {
              set{ __ZXMC = value.Replace("'","’"); __Changed["ZXMC"] = true;}
              get{return __ZXMC;}
         }
         /// <summary>
         ///设置或获取类中的[NJGKSDSD]的数据
         /// </summary>
         public string NJGKSDSD
         {
              set{ __NJGKSDSD = value.Replace("'","’"); __Changed["NJGKSDSD"] = true;}
              get{return __NJGKSDSD;}
         }
         /// <summary>
         ///设置或获取类中的[NJGKXZ]的数据
         /// </summary>
         public string NJGKXZ
         {
              set{ __NJGKXZ = value.Replace("'","’"); __Changed["NJGKXZ"] = true;}
              get{return __NJGKXZ;}
         }
         /// <summary>
         ///设置或获取类中的[GLGKSDSD]的数据
         /// </summary>
         public string GLGKSDSD
         {
              set{ __GLGKSDSD = value.Replace("'","’"); __Changed["GLGKSDSD"] = true;}
              get{return __GLGKSDSD;}
         }
         /// <summary>
         ///设置或获取类中的[GLGKXZ]的数据
         /// </summary>
         public string GLGKXZ
         {
              set{ __GLGKXZ = value.Replace("'","’"); __Changed["GLGKXZ"] = true;}
              get{return __GLGKXZ;}
         }
         /// <summary>
         ///设置或获取类中的[HXJLXZ]的数据
         /// </summary>
         public string HXJLXZ
         {
              set{ __HXJLXZ = value.Replace("'","’"); __Changed["HXJLXZ"] = true;}
              get{return __HXJLXZ;}
         }
         /// <summary>
         ///设置或获取类中的[IS_SHOW]的数据
         /// </summary>
         public int? IS_SHOW
         {
              set{ __IS_SHOW = value; __Changed["IS_SHOW"] = true;}
              get{return __IS_SHOW;}
         }
         /// <summary>
         ///设置或获取类中的[AREA_NAME]的数据
         /// </summary>
         public string AREA_NAME
         {
              set{ __AREA_NAME = value.Replace("'","’"); __Changed["AREA_NAME"] = true;}
              get{return __AREA_NAME;}
         }
         /// <summary>
         ///设置或获取类中的[UTYPE]的数据
         /// </summary>
         public int? UTYPE
         {
              set{ __UTYPE = value; __Changed["UTYPE"] = true;}
              get{return __UTYPE;}
         }
    }
}
